import Vue from 'vue'
import App from './App'
import router from './router'
//引入FastClick
import FastClick from 'fastclick'
//全局引入reset
import './assets/css/reset.css'
Vue.config.productionTip = false

//全局引入iconfont
import './assets/css/iconfont.css'

//全局引入swiper
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper, /* { default global options } */)

import axios from 'axios'
Vue.prototype.$http = axios


//引入Vuex
import store from "./store"
//使用FastClick
FastClick.attach(document.body)
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
